home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / info / drdtips.zip / 1113.TXT < prev    next >
Text File  |  1992-09-08  |  30KB  |  912 lines

  1.  
  2.                            FYI
  3.  
  4. (Note: The origin of this information may be internal or external
  5. to Novell.  Novell makes every effort within its means to verify
  6. this information.  However, the information provided in this
  7. document is FOR YOUR INFORMATION only.  Novell makes no explicit or
  8. implied claims to the validity of this information.)
  9.  
  10.           TITLE: DR DOS 6 Sample Configuration Files
  11.    DOCUMENT ID#: FYI-M-1113
  12.            DATE: 07SEPT92
  13.         PRODUCT: DR DOS
  14. PRODUCT VERSION: 6.0
  15.      SUPERSEDES: 
  16.  
  17.  
  18. These are some sample configuration files to help you deceide how
  19. best to set up your system. It is not necessary for you to use them
  20. exactly as written but they can be used to give you ideas on what
  21. can be done with DR DOS 6.0. What your computer can actually
  22. accomplish is dependent on the hardware of your system.
  23.  
  24.  
  25.         PC / XT Computers 640K (only)
  26.  
  27. CONFIG.SYS
  28.  
  29. SHELL=C:\COMMAND.COM C:\ /P /E:256
  30. BREAK=ON 
  31. BUFFERS=20
  32. FILES=30
  33. FCBS=4,4
  34. FASTOPEN=256
  35. HISTORY=ON, 256, ON, OFF, OFF
  36. ?"Load Netware (Y/N)? " set lan=on
  37. ?"Enable DelWatch TSR (Y/N)? " set delw=on
  38.  
  39. AUTOEXEC.BAT
  40.  
  41. @ECHO OFF
  42. :DRDOSBEG
  43. PATH C:\;C:\DRDOS;C:\NETWARE
  44. VERIFY OFF
  45. PROMPT [DR DOS] $P$G
  46. if "%lan%"=="on" IPX
  47. if "%lan%"=="on" NETX
  48. if "%delw%"=="on" DELWATCH C: /F:200
  49. DISKMAP C:
  50.  
  51. These files will setup an XT-type computer to use the following DR
  52. DOS 6.0 features:
  53.  
  54. The DELWATCH command is a 5k TSR loaded to keep track of deleted
  55. files. The options indicate that Drive C: will be watched and no
  56. more than 200 deletions will be tracked.
  57.  
  58. The DISKMAP command takes a snap-shot of Drive C:'s file allocation
  59. table. In the instance of serious disk or file corruption problems
  60. this feature will aid in the recovery of your disk and files. This
  61. command, however, can be executed as many times as needed during
  62. your computing session in order to get the most recent FAT image
  63. (via the $x variable in PROMPT, see page 294 of the DR DOS manual).
  64.  
  65. Depending on the use of this type of configuration, this PC/XT
  66. could be used for other "light-duty" services on networks, et
  67. cetera, and therefore, other drivers can be implemented which would
  68. take more conventional memory such as SuperStor'ing the hard-disk
  69. for additional document storage for a printer server. SuperStor
  70. would take about 50K of conventional memory to run, and could have
  71. a serious impact on the ability to run some DOS applications. The
  72. examples for SuperStor in this document are for drives other than
  73. C:. If C: is compressed SuperStor will create a DCONFIG.SYS file on
  74. the uncompressed side and will place the SuperStor driver there.
  75. Refer to Document 1200 for more information on SuperStor.
  76.  
  77.         PC / XT Computers 640K and LIM 4.0 Expanded Memory
  78.  
  79. CONFIG.SYS
  80.  
  81. SHELL=C:\COMMAND.COM C:\ /P /E:256
  82. BREAK=ON 
  83. BUFFERS=20
  84. FILES=30
  85. FCBS=4,4
  86. FASTOPEN=256
  87. HISTORY=ON, 256, ON, OFF, OFF
  88. DEVICE=C:\REMM.SYS
  89. ?"MemoryMAX w/no LIM (y/n)? "DEVICE=C:\DRDOS\HIDOS.SYS /C=EMSALL
  90.         /B=AUTO
  91. ?"MemoryMAX w/ LIM (y/n)? "DEVICE=C:\DRDOS\HIDOS.SYS /C=EMSUMB
  92.         /B=AUTO
  93. HIDOS=ON
  94. ?"Use the Compressed Disk (Y/N)? "DEVICE=C:\SSTORDRV.SYS
  95. ?"Enable DelWatch TSR (Y/N)? " set delw=on
  96. ?"Load Netware (Y/N)? " set lan=on
  97.  
  98. AUTOEXEC.BAT
  99.  
  100. @ECHO OFF
  101. :DRDOSBEG
  102. PATH C:\;C:\DRDOS;C:\NETWARE
  103. VERIFY OFF
  104. PROMPT [DR DOS] $P$G
  105. if "%lan%"=="on" IPX
  106. if "%lan%"=="on" NETX
  107. if "%delw%"=="on" DELWATCH C: /F:200
  108. DISKMAP C:
  109. :DRDOSEND
  110.  
  111. An XT-type computer, with LIM 4.0 expanded memory, will take
  112. advantage of the following DR DOS 6.0 features:
  113.  
  114. First, the computer's expanded memory driver is loaded (named
  115. REMM.SYS in this example). The driver supplied with your computer
  116. will probably be named something different, however, specify the
  117. use of this driver in the same location. 
  118.  
  119. Second, the MemoryMAX driver HIDOS.SYS allows the operating system
  120. to relocate into Upper Memory via the /B=AUTO switch. The other
  121. switches, /CHIPSET=EMSALL or EMSUMB, allow either all the Upper
  122. Memory (128K) to be used for the operating system's purpose (but
  123. with no LIM support) or to allow an EMS page frame (LIM support)
  124. and an Upper Memory Block of 64K. The EMS memory manager and
  125. hardware must be LIM 4.0 compatible for this to properly work.
  126.  
  127. The Compressed Disk driver, SSTORDRV.SYS, could be used to access
  128. leftover disk space on another fixed disk partition.
  129.  
  130. The DELWATCH command is a 5k TSR loaded to keep track of deleted
  131. files. The options indicate that Drive C: will be watched and no
  132. more than 200 deletions will be tracked or saved. The DISKMAP
  133. command takes a snap-shot of Drive C:'s File Allocation Table and
  134. will further increase chances of a successful file "undeletion".
  135.  
  136.  
  137.         PC/AT or 286 based Computers with 640K and LIM 4.0
  138.         Expansion Boards
  139.  
  140. CONFIG.SYS
  141.  
  142. SHELL=C:\COMMAND.COM C:\ /P /E:256 
  143. BREAK=ON 
  144. BUFFERS=20
  145. FILES=30
  146. FCBS=4,4
  147. FASTOPEN=256
  148. HISTORY=ON, 256, ON, OFF, OFF
  149. DEVICE=REMM.SYS
  150. ?"MemoryMAX w/no LIM (y/n)? "DEVICE=C:\DRDOS\HIDOS.SYS /C=EMSALL
  151.         /B=AUTO
  152. ?"MemoryMAX w/ LIM (y/n)? "DEVICE=C:\DRDOS\HIDOS.SYS /C=EMSUMB
  153.         /B=AUTO
  154. HIDOS=ON
  155. ?"Use the Compressed Disk (Y/N)? "DEVICE=C:\SSTORDRV.SYS
  156. ?"Load Netware (Y/N)? " set lan=on
  157. ?"Enable DelWatch TSR (Y/N)? " set delw=on
  158.  
  159. AUTOEXEC.BAT
  160.  
  161. @ECHO OFF
  162. :DRDOSBEG
  163. PATH C:\;C:\DRDOS;C:\NETWARE
  164. VERIFY OFF
  165. PROMPT [DR DOS] $P$G
  166. if "%lan%"=="on" IPX
  167. if "%lan%"=="on" NETX
  168. if "%delw%"=="on" DELWATCH C: /F:200
  169. DISKMAP C:
  170. :DRDOSEND
  171.  
  172. This basic setup is similar to an XT with 640K RAM and additional
  173. LIM 4.0 expanded memory. 
  174.  
  175. The LIM 4.0 Expansion Board will come with a device driver which
  176. enables it to work and function with DOS applications. The device
  177. driver that the memory expansion board comes with could be named
  178. REMM.SYS. Please read your documentation for your memory expansion
  179. board for the location and name of the driver that enables that
  180. memory. If the driver supplied with your computer is named
  181. differently, you can still specify the use of this driver in the
  182. same location as indicated by the REMM.SYS line above.
  183.  
  184. The MemoryMAX driver HIDOS.SYS is allowing the operating system to
  185. relocate into Upper Memory via the /B=AUTO switch. 
  186.  
  187. The other switches, /CHIPSET=EMSALL or EMSUMB allow either all the
  188. Upper Memory to be used for the operating system's purpose or to
  189. allow an EMS (LIM) page frame as well as an extra portion of upper
  190. memory for the operating system to use. As stated earlier the EMS
  191. memory manager and the LIM hardware must be LIM 4.0 to work
  192. properly.
  193.  
  194. The DELWATCH command is a 5k TSR loaded to keep track of deleted
  195. files. The options indicate that Drive C: will be watched and no
  196. more than 200 deletions will be tracked (the tracked being saved in
  197. a hidden file of the same drive). The DISKMAP command takes a
  198. snap-shot of Drive C's File Allocation Table.
  199.  
  200.         PC/AT or 286 based Computers with 1MB and LIM 4.0
  201.         Expansion Boards
  202.  
  203. CONFIG.SYS
  204.  
  205. SHELL=C:\COMMAND.COM C:\ /P /E:256 
  206. BREAK=ON 
  207. BUFFERS=20
  208. FILES=30
  209. FCBS=4,4
  210. FASTOPEN=256
  211. HISTORY=ON, 256, ON, OFF, OFF
  212. DEVICE=REMM.SYS
  213. ?"MemoryMAX w/no LIM (y/n)? "DEVICE=C:\DRDOS\HIDOS.SYS /C=EMSALL
  214.         /B=FFFF
  215. ?"MemoryMAX w/ LIM (y/n)? "DEVICE=C:\DRDOS\HIDOS.SYS /C=EMSUMB
  216.         /B=FFFF
  217. HIDOS=ON
  218. ?"Use the Compressed Disk (Y/N)? "DEVICE=C:\SSTORDRV.SYS
  219. ?"Load Netware (Y/N)? " set lan=on
  220. ?"Enable DelWatch TSR (Y/N)? " set delw=on
  221.  
  222. AUTOEXEC.BAT
  223.  
  224. @ECHO OFF
  225. :DRDOSBEG
  226. PATH C:\;C:\DRDOS;C:\NETWARE
  227. VERIFY OFF
  228. PROMPT [DR DOS] $P$G
  229. if "%lan%"=="on" IPX
  230. if "%lan%"=="on" NETX
  231. if "%delw%"=="on" DELWATCH C: /F:200
  232. DISKMAP C:
  233. :DRDOSEND
  234.  
  235. This basic setup is similar to an AT with 640K except for the
  236. /B=FFFF option with HIDOS.SYS. An AT with 1MB ram will have 384K of
  237. extended memory. This 384K will be addressed beginning at FFFF not
  238. A000 (640 decimal) as would be assumed. Because the beginning
  239. address is FFFF HIDOS.SYS can make use of the HMA to relocate DR
  240. DOS kernel and data structures. This has the added benefit of
  241. permiting the more efficient use of Upper Memory for TSRs. In short
  242. up to 192K of memory can be put to use outside of conventional
  243. memory.
  244.  
  245.         286-Based Computer with Special Chipsets and Extended
  246.         Memory
  247.  
  248. CONFIG.SYS
  249.  
  250. SHELL=C:\COMMAND.COM C:\ /P /E:256
  251. BREAK=ON 
  252. BUFFERS=20
  253. FILES=30
  254. FCBS=4,4
  255. FASTOPEN=256
  256. HISTORY=ON, 256, ON, OFF, OFF
  257. DEVICE=REMM.SYS
  258. ?"Load MemoryMAX (y/n)? "DEVICE=C:\DRDOS\HIDOS.SYS /B=FFFF
  259.         /C=AUTO
  260. HIDOS=ON
  261. ?"Use the Compressed Disk (Y/N)? "DEVICE=C:\SSTORDRV.SYS
  262. ?"Enable DelWatch TSR (Y/N)? " set delw=on
  263. ?"Load Netware (Y/N)? " set lan=on
  264.  
  265. AUTOEXEC.BAT
  266.  
  267. @ECHO OFF
  268. :DRDOSBEG
  269. PATH C:\;C:\DRDOS;C:\NETWARE
  270. VERIFY OFF
  271. PROMPT [DR DOS] $P$G
  272. if "%lan%"=="on" hiload IPX
  273. if "%lan%"=="on" hiload NETX
  274. if "%delw%"=="on" DELWATCH C: /F:200
  275. DISKMAP C:
  276. :DRDOSEND
  277.  
  278. These files can be used if your 286/AT has been manufactured with
  279. special memory mapping chips which offer control of certain memory
  280. functions (page 418-423). These systems offer favorable Upper
  281. Memory support for DR DOS's MemoryMAX software to enable and use
  282. Upper Memory for TSR's and device drivers. Shadowing should be
  283. enabled in the computer's CMOS to support the creation of upper
  284. memory by DR DOS 6.0. The important line in this example is the
  285. MemoryMAX driver HIDOS.SYS. This allows the operating system to
  286. sense the type of chipset within the 286/AT, enable Upper Memory
  287. and relocate the operating system files into Upper or High  Memory
  288. via the /B= switch. 
  289.  
  290. The valid switch options for HIDOS.SYS /CHIPSET= are:
  291.  
  292. EMSALL
  293. or              (for 286s with LIM 4.0 compatible hardware/drivers
  294. EMSUMB           so not applicable in the above example)
  295.  
  296. NEAT            (for 286s with Chips & Technologies NEAT, NEATsx,
  297.                 LeAPSet, or LeAPSetsx)
  298.  
  299. SCAT            (for 286s with Chips & Technologies SCAT chipset)
  300.  
  301. RAM             (for permanent Upper Memory. Must be used with
  302.                 the /USE option on the HIDOS.SYS driver)
  303.  
  304. NONE            (for telling HIDOS.SYS not to use Shadow RAM)
  305.  
  306. AUTO            (for AUTO detection of chipset installed)
  307.  
  308.  
  309.         386/486 Based Computers with 1 Megabyte of RAM
  310.  
  311. CONFIG.SYS
  312.  
  313. SHELL=C:\COMMAND.COM C:\ /P /E:512
  314. BREAK=ON 
  315. HIBUFFERS=20
  316. FILES=30
  317. FCBS=4,4
  318. FASTOPEN=256
  319. HISTORY=ON, 256, ON, OFF, OFF 
  320. DEVICE=C:\DRDOS\HIDOS.SYS /B=FFFF 
  321. HIDOS=ON
  322. ?"Use the Compressed Disk (Y/N)? "DEVICE=C:\SSTORDRV.SYS
  323. ?"Enable DelWatch TSR (Y/N)? " set delw=on
  324. ?"Load Netware (Y/N)? " set lan=on
  325.  
  326. AUTOEXEC.BAT
  327.  
  328. @ECHO OFF
  329. :DRDOSBEG
  330. PATH C:\;C:\DRDOS;C:\NETWARE
  331. VERIFY OFF
  332. PROMPT [DR DOS] $P$G
  333. if "%lan%"=="on" hiload IPX
  334. if "%lan%"=="on" hiload NETX
  335. if "%delw%"=="on" DELWATCH C: /F:200
  336. DISKMAP C:
  337. :DRDOSEND
  338.  
  339. This configuration will allow a 386 or 486 based computer to
  340. relocate the operating system into High Memory.
  341.  
  342. IMPORTANT:
  343. EMM386.SYS can be used on some systems but the majority of
  344. computers will not have any extended memory, which is required by
  345. EMM386 in order to create Upper Memory. HIDOS.SYS is used instead
  346. because it does not create Upper Memory with the switches indicated
  347. in the above example. 
  348.  
  349. A NOTE ABOUT HOW UPPER MEMORY IS CREATED ON A 386
  350. In the example for a 1 MB 286 it was indicated that there was a
  351. break in RAM between A000 (640K decimal) and FFFF (1MB decimal).
  352. The 384K above 640K actually began at FFFF and not A000. This is
  353. not quite the case with a 386 computer. In a 1MB 386 all RAM is
  354. contiguous from 0 - A000. However, the additional 384K is usually
  355. reserved for use of memory mapping support chips. What EMM386.SYS
  356. does is go through Upper Memory Addresses looking for ROMs, Shadows
  357. or other devices. It then determines how much free unused space
  358. exists between these used blocks of memory and remaps XMS memory to
  359. fill these spaces. In fact, the technical definition for the Upper
  360. Memory created by EMM386 is XMS-UMBs. This is also why a MEM /A
  361. report will indicate a reduced amount of available XMS when using
  362. EMM386 to create Upper Memory compared to when Upper Memory is not
  363. created by using a /W on EMM386. The missing amount has been used
  364. to create Upper Memory plus a small amount for overhead. Because of
  365. this remapping of XMS memory it is not possible for EMM386.SYS to
  366. create Upper Memory on a 1MB computer.
  367.  
  368. The SuperStor driver is useful in doubling the apparent capacity of
  369. the disk partition to which it's applied. If this has not been
  370. applied to your disk drive, you can elect not to use this driver
  371. and therefore save a substantial amount of conventional memory.
  372. Therefore, the "?" allows the driver to be loaded at will, whenever
  373. that particular partition needs to be accessed. If the driver is
  374. loaded, you can expect to achieve about 603K of conventional
  375. memory. The above example is for a drive other than C:. If C: is
  376. compressed SuperStor will create a DCONFIG.SYS file on the
  377. uncompressed side of the drive and will place the SuperStor driver
  378. there. Refer to Document 1200 for more information on SuperStor.
  379.  
  380.  
  381.         386/486 Based Computers with GREATER than 1 Megabyte
  382.         of RAM
  383.  
  384. CONFIG.SYS
  385.  
  386. SHELL=C:\COMMAND.COM C:\ /P /E:512
  387. BREAK=ON 
  388. HIBUFFERS=20
  389. FILES=30
  390. FCBS=4,4
  391. FASTOPEN=256
  392. HISTORY=ON, 256, ON, OFF, OFF
  393. HIDOS=ON
  394. DEVICE=C:\DRDOS\EMM386.SYS /F=NONE /K=AUTO /B=FFFF /R=AUTO
  395. ?"Use the Compressed Disk (Y/N)? "DEVICE=C:\SSTORDRV.SYS
  396. ?"Enable DelWatch TSR (Y/N)? " set delw=on
  397. ?"Load Netware (Y/N)? " set lan=on
  398.  
  399. AUTOEXEC.BAT
  400.  
  401. @ECHO OFF
  402. :DRDOSBEG
  403. PATH C:\;C:\DRDOS;C:\NETWARE
  404. VERIFY OFF
  405. PROMPT [DR DOS] $P$G
  406. if "%lan%"=="on" hiload IPX
  407. if "%lan%"=="on" hiload NETX
  408. if "%delw%"=="on" DELWATCH C: /F:200
  409. DISKMAP C:
  410. :DRDOSEND
  411.  
  412. This configuration will allow a 386 or 486 based computer to
  413. relocate the operating system into High Memory. With an average of
  414. 120K of RAM in Upper Memory, a portion of the SuperStor driver, the
  415. IPX and possibly the NETX software will also fit into Upper Memory.
  416.  
  417. The SuperStor driver is useful in doubling the apparent capacity of
  418. the disk partition to which it's applied. If this has not been
  419. applied to your main disk drive, you can elect not to use this
  420. driver and therefore save a substantial amount of conventional
  421. memory. Therefore, the "?" allows the driver to be loaded at will,
  422. whenever that particular partition needs to be accessed. The above
  423. examples have been for drives other than C:. If C: is compressed
  424. SuperStor will create a DCONFIG.SYS file on the uncompressed side
  425. of the drive and will place the SuperStor driver there. Refer to
  426. Document 1200.
  427.  
  428.  
  429.         386/486 Based Computers with greater than 1 Megabyte of
  430.         RAM running TaskMAX
  431.  
  432. CONFIG.SYS
  433.  
  434. SHELL=C:\COMMAND.COM C:\ /P /E:512
  435. BREAK=ON 
  436. HIBUFFERS=20
  437. FILES=30
  438. FCBS=4,4
  439. FASTOPEN=256
  440. HISTORY=ON, 256, ON, OFF, OFF
  441. HIDOS=ON
  442. DEVICE=C:\DRDOS\EMM386.SYS /F=NONE /K=AUTO /B=AUTO /R=AUTO
  443. ?"Use the TaskMAX task switcher (Y/N)? " set tasker=on
  444. ?"Enable DelWatch TSR (Y/N)? " set delw=on
  445. ?"Load Netware (Y/N)? " set lan=on
  446.  
  447. AUTOEXEC.BAT
  448.  
  449. @ECHO OFF
  450. :DRDOSBEG
  451. PATH C:\;C:\DRDOS;C:\NETWARE
  452. VERIFY OFF
  453. PROMPT [DR DOS] $P$G
  454. if "%lan%"=="on" hiload IPX
  455. if "%lan%"=="on" hiload NETX
  456. if "%delw%"=="on" DELWATCH C: /F:200
  457. if "%tasker%"=="on" share
  458. if "%tasker%"=="on" taskmax
  459. DISKMAP C:
  460. :DRDOSEND
  461.  
  462. This minimal configuration will allow a 386 or 486 based computer
  463. to relocate the operating system into Upper Memory. Although this
  464. is not optimal for the EMM386.SYS driver, the amount of memory
  465. available on most 386/486 computers will allow the Upper Memory to
  466. be addressed and used for the relocation of the operating system
  467. files, drivers or TSR's. With an average of 120K of RAM in Upper
  468. Memory, the operating system will be able to get SHARE into HMA,
  469. and TaskMAX and the Netware drivers into Upper Memory. Before
  470. Netware is loaded you should be able to have 625K available
  471. Conventional Memory. Alternately, you can load the drivers in the
  472. AUTOEXEC file from the command line (eg. SHARE, TASKMAX, HILOAD IPX
  473. and HILOAD NETX). 
  474.  
  475. The NETX utility found on the last DR DOS 6.0 floppy disk is
  476. included to allow you to task-switch on the Network. This will not
  477. allow multiple logins. However, it is designed to allow you to
  478. execute more than one on application on the network.
  479.  
  480.  
  481.         WINDOWS Enhanced Mode Configuration for 386/486 Based
  482.         Computers 4 Megabytes or better
  483.  
  484. CONFIG.SYS
  485.  
  486. SHELL=C:\COMMAND.COM C:\ /P /E:512
  487. BREAK=ON 
  488. HIBUFFERS=8
  489. FILES=30
  490. FCBS=4,4
  491. FASTOPEN=0
  492. HISTORY=ON, 256, ON, OFF, OFF
  493. HIDOS=ON
  494. DEVICE=C:\DRDOS\EMM386.SYS /F=NONE /K=AUTO /B=FFFF /R=AUTO
  495. DEVICE=C:\DRDOS\PCKWIN.SYS
  496. ?"Load Netware (Y/N)? " set lan=on
  497. ?"Enable DelWatch TSR (Y/N)? " set delw=on
  498.  
  499. AUTOEXEC.BAT
  500.  
  501. @ECHO OFF
  502. :DRDOSBEG
  503. PATH C:\;C:\DRDOS;C:\NETWARE;C;\WINDOWS
  504. VERIFY OFF
  505. PROMPT [DR DOS] $P$G
  506. if "%lan%"=="on" hiload IPX
  507. if "%lan%"=="on" hiload NETX
  508. SUPERPCK /EM /S:2048
  509. if "%delw%"=="on" DELWATCH C: /F:200
  510. DISKMAP C:
  511. :DRDOSEND
  512.  
  513. This basic configuration allows a 386 or 486 based computer to run
  514. WINDOWS 3.0 OR 3.1 in the "Enhanced Mode". The operating system is
  515. being relocated to the HMA (/B=FFFF), and the information in the
  516. video and system BIOS ROMs are being "shadowed" to faster RAM
  517. (/R=AUTO). SuperPCKwik is going to be 2 Megabytes in size (/S:2048)
  518. and use the Extended Memory (/EM) set aside with the EMM386.SYS
  519. driver. It will lend approximately half of its memory for use as
  520. XMS memory for WINDOWS. SuperPCK is using the WINDOWS compatible
  521. portion of its driver (PCKWIN.SYS) so that WINDOWS performance is
  522. enhanced because of better disk performance and will also enable
  523. lending. With the EMM386.SYS driver, an average of 120K of RAM may
  524. be available to relocate network drivers, TSRs and other drivers
  525. into Upper Memory. This configuration has been able to provide 625K
  526. of Conventional Memory before WINDOWS is loaded. 
  527.  
  528. Note:
  529. If the performance of Windows appears to be slow, the cache size
  530. may be too large for the number of applications that are being run
  531. in Windows. This will make Windows run out of XMS memory and it
  532. will have to use swap files. Even with SuperPCK swapping to disk is
  533. slower than running from RAM. Try reducing the size of the cache or
  534. increasing the lending amount.
  535.  
  536. This same configuration can be used to run Windows 3.1 in Standard
  537. Mode. For Windows 3.0 Real Mode be sure to disable Upper Memory
  538. with the command MEMMAX -U before running Windows. 
  539.  
  540.         WINDOWS 3.0 Standard Mode Configuration for 386/486 Based
  541.         Computers with more than 2 Megabytes
  542.  
  543. CONFIG.SYS
  544.  
  545. SHELL=C:\COMMAND.COM C:\ /P /E:512
  546. BREAK=ON 
  547. HIBUFFERS=20
  548. FILES=30
  549. FCBS=4,4
  550. FASTOPEN=256
  551. HISTORY=ON, 256, ON, OFF, OFF
  552. HIDOS=ON
  553. DEVICE=C:\DRDOS\EMM386.SYS /F=NONE /B=FFFF /R=AUTO /WINSTD
  554. DEVICE=C:\DRDOS\PCKWIN.SYS
  555. ?"Load Netware (Y/N)? " set lan=on
  556. ?"Enable DelWatch TSR (Y/N)? " set delw=on
  557.  
  558. AUTOEXEC.BAT
  559.  
  560. @ECHO OFF
  561. :DRDOSBEG
  562. PATH C:\;C:\DRDOS;C:\NETWARE;C;\WINDOWS
  563. VERIFY OFF
  564. PROMPT [DR DOS] $P$G
  565. if "%lan%"=="on" hiload IPX
  566. if "%lan%"=="on" hiload NETX
  567. SUPERPCK /EM 
  568. if "%delw%"=="on" DELWATCH C: /F:200
  569. DISKMAP C:
  570. :DRDOSEND
  571.  
  572.  
  573. This basic configuration allows a 386 or 486 based computer to run
  574. WINDOWS in  the "Standard Mode" or "real Mode". The EMM386.SYS
  575. driver indicates that NO LIM page-frame be established by the
  576. driver (/F=NONE), the operating system is being relocated to the
  577. HMA (/B=FFFF), and the information in the video and system BIOS
  578. ROMs are being "shadowed" to faster RAM. SuperPCKwik is going to
  579. use all of the extended memory enabled by EMM386.SYS for caching
  580. the disk drive. Half of this amount will be "lent" to Windows.
  581. SuperPCK is using the WINDOWS compatible portion of its driver so
  582. that WINDOWS performance is enhanced because of better disk
  583. performance and will also enable lending. This configuration has
  584. been able to provide 625K of Conventional Memory before WINDOWS is
  585. loaded.
  586.  
  587.  
  588.         Windows Enhanced Mode Configuration for 386/486 with
  589.         2 Megabytes
  590.  
  591. CONFIG.SYS
  592.  
  593. SHELL=C:\COMMAND.COM C:\ /P /E:512 /ML
  594. BREAK=ON 
  595. BUFFERS=20
  596. FILES=30
  597. FCBS=4,4
  598. FASTOPEN=256
  599. HISTORY=ON, 256, ON, OFF, OFF
  600. HIDOS=OFF
  601. DEVICE=C:\DRDOS\HIDOS.SYS /B=NONE
  602. ?"Load Netware (Y/N)? " set lan=on
  603. ?"Enable DelWatch TSR (Y/N)? " set delw=on
  604.  
  605. AUTOEXEC.BAT
  606.  
  607. @ECHO OFF
  608. :DRDOSBEG
  609. PATH C:\;C:\DRDOS;C:\NETWARE;C;\WINDOWS
  610. VERIFY OFF
  611. PROMPT [DR DOS] $P$G
  612. if "%lan%"=="on" hiload IPX
  613. if "%lan%"=="on" hiload NETX
  614. if "%delw%"=="on" DELWATCH C: /F:200
  615. DISKMAP C:
  616. :DRDOSEND
  617.  
  618. A 2 megabyte computer is the MINIMUM system for Windows in enhanced
  619. Mode. System performance may be greatly reduced because Windows
  620. will need to use swap files and no cache can be used to help
  621. accelerate disk I/O.
  622.  
  623. This configuration will allow a 386/486 with 2 Megabytes to run
  624. Windows in Enhanced Mode. Because Windows requires a minimum of 1
  625. Megabyte of XMS this configuration does not use the HMA. The SHELL
  626. statement has the switch /ML to force it to Conventional Memory.
  627. EMM386 is not used because it would reduce available XMS memory by
  628. using it to create Upper Memory (See the note for 386/486's with
  629. more than 1MB). HIDOS.SYS is used to create XMS memory but does not
  630. load the kernel into Upper Memory or HMA with /B=NONE and the
  631. statement BUFFERS (Upper) is used instead of HIBUFFERS (HMA).
  632. Finally, because Windows needs all of the XMS memory available
  633. SuperPCK is not used in this configuration.
  634.  
  635.                 ******************************
  636.  
  637. MODELS OF CONFIGURATION FILES
  638.  
  639. The following configuration ideas should be considered advanced and
  640. are for those users who are interested in a more sophisticated
  641. organization of their configuration and autoexec files.
  642.  
  643. Only the basic ideas are outlined in each example. The rest of the
  644. file can be filled in with your own specifications.
  645.  
  646. EXAMPLE 1 - The use of GOTO in the CONFIG file.
  647.  
  648. ?"Do you want to run QEMM (y/n)? " goto QEMM
  649. ?"Do you want to run MemoryMAX (y/n)? " goto DRDOS
  650.  
  651. :QEMM
  652. DEVICE=c:\QTR_DECK\QEMM386.SYS
  653. DEVICE=C:\DRDOS\HIDOS.SYS /B=FFFF
  654. (additional QEMM driver lines go here...)
  655. goto COMMON
  656.  
  657. :DRDOS
  658. hidos=on
  659. DEVICE=C:\DRDOS\EMM386.SYS /F=AUTO...
  660. ...
  661.  
  662. :COMMON
  663. files=40
  664. hibuffers=20
  665. ...
  666.  
  667. The goto statement is used to proceed directly to a label. This
  668. function is similar to that found in batch file processing.
  669.  
  670. EXAMPLE 2 - The use of CHAIN in the CONFIG file. This example shows
  671. that you can "link" to other files that hold your configurations
  672. for each system "setup". In the following CONFIG.SYS file, the two
  673. lines direct the configuration process to the files: QCONFIG and
  674. MCONFIG.SYS files. The appropriate FILES, BUFFERS, etc. information
  675. is contained within those files and not the main CONFIG.SYS file.
  676.  
  677. ?"Do you want to run QEMM (y/n)? " chain=QCONFIG.SYS
  678. ?"Do you want to run MemoryMAX (y/n)? " chain=MCONFIG.SYS
  679.  
  680.  
  681. EXAMPLE 3 - The following CONFIG file demonstrates the use of
  682. SWITCH/RETURN commands and use of labels. Select the option by
  683. number and continue processing. Notice the use of the ECHO
  684. statement for setting up the menu options.
  685.  
  686. ECHO =         Choose how much Extended Memory you want to convert
  687. ECHO =              to LIM Memory for this session. 
  688. ECHO =
  689. ECHO =          1 (or ENTER)    No LIM Memory
  690. ECHO =          2               512K of Memory
  691. ECHO =          3               1024K of Memory
  692. ECHO =          4               2048K of Memory
  693. ECHO =
  694. ECHO =         Make your selection...
  695.  
  696. SWITCH NOLIM, 512K, 1024K, 2048K
  697. GOTO DEFAULTS
  698.  
  699. :NOLIM
  700. DEVICE=C:\DRDOS\EMM386.SYS /F=NONE /K=AUTO /B=FFFF /R=AUTO
  701. RETURN
  702.  
  703. :512K
  704. DEVICE=C:\DRDOS\EMM386.SYS /F=AUTO /K=512 /B=FFFF /R=AUTO
  705. RETURN
  706.  
  707. :1024K
  708. DEVICE=C:\DRDOS\EMM386.SYS /F=AUTO /K=1024 /B=FFFF /R=AUTO
  709. RETURN
  710.  
  711. :2048K
  712. DEVICE=C:\DRDOS\EMM386.SYS /F=AUTO /K=2048 /B=FFFF /R=AUTO
  713. RETURN
  714.  
  715. :DEFAULTS
  716. SHELL=C:\COMMAND.COM \C: /P /E:512
  717. HIDOS=ON
  718. HIBUFFERS=20
  719. FILES=30
  720. etc...
  721.  
  722.  
  723. EXAMPLE 4 - The following CONFIG file section shows how
  724. "environment variables" can be set according to the configuration
  725. options one chooses. These variables are passed to the command
  726. processor (COMMAND.COM) where they can be tested and processed
  727. through the AUTOEXEC.BAT or other batch files. It is not possible
  728. to test an environment variable in CONFIG. The CLS, CPOS, EXIT and
  729. SET commands are featured in this example.
  730.  
  731. :DEFAULTS
  732. SHELL=C:\COMMAND.COM \C: /P /E:512
  733. HIDOS=ON
  734. HIBUFFERS=20
  735. FILES=30
  736. etc....
  737.  
  738. ECHO =         Choose which TSRs and Utilities you want loaded 
  739. ECHO =               at BOOT time for this session. 
  740. ECHO =
  741. ECHO =         1 (or ENTER)   None... just continue
  742. ECHO =         2              Mouse & Cursor Drivers
  743. ECHO =         3              Keyboard "Speeder"
  744. ECHO =         4              Novell Network
  745. ECHO =         5              Done with selections
  746. ECHO =
  747. ECHO =         Make your selection...
  748.  
  749. :MORE
  750. CPOS 10,33
  751. SWITCH NOTHING, CURSMOUS, SPEEDKEY, NOVELL, DONE
  752. GOTO MORE
  753.  
  754. :DONE
  755. :NOTHING
  756. CLS
  757. EXIT
  758.  
  759. :CURSMOUS
  760. SET THINGS=ON
  761. RETURN
  762.  
  763. :SPEEDKEY
  764. SET SPEEDKEY=ON
  765. RETURN
  766.  
  767. :NOVELL
  768. SET NETWORK=ON
  769. RETURN
  770.  
  771. The accompanying AUTOEXEC below picks up the environment variables.
  772.  
  773. The AUTOEXEC.BAT file now allows testing of the environment
  774. variables and executes commands based upon the conditionals as
  775. illustrated below:
  776.  
  777. @ECHO OFF
  778. :drdosbeg
  779. VERIFY OFF
  780. PATH C:\;C:\DRDOS;C:\BATS;C:\TOOLS;C:\WINDOWS
  781. if "%things%"=="on" prompt $e[s$e[0;70H$e[1;36m$t$e[u$e[1;36mDR
  782.         DOS6$p$g$e[2;32m
  783. if not "%things%"=="on" PROMPT [DR DOS] $P$G
  784. SET TEMP=C:\TEMP
  785. IF NOT "%TEMP%"=="" MD %TEMP% >NUL
  786. if "%things%"=="on" HILOAD MOUSE
  787. if "%things%"=="on" HILOAD CURSOR /s10
  788. if "%speedkey%"=="on" c:\drdos\mode con:rate=30 delay=1
  789. if "%network%"=="on" hiload c:\lan\ipx
  790. if "%network%"=="on" hiload c:\lan\net3
  791. :drdosend
  792.  
  793.  
  794. OTHER EXAMPLES
  795.  
  796. Select different configuration options from the CONFIG.SYS file
  797. using the ?
  798.  
  799. ?SHELL=C:\COMMAND.COM C:\ /P /E:512
  800. ?SHELL=C:\COMMAND.COM C:\ /P /E:1024
  801. ?BREAK=OFF
  802. ?BREAK=ON
  803. BUFFERS=20
  804. FILES=20
  805. ?HISTORY=ON, 256, ON, OFF, OFF
  806. ?DEVICE=C:\DRDOS\ANSI.SYS
  807.  
  808. Select different AUTOEXEC.BAT's from CONFIG.SYS using the ? and the
  809. Shell statement. 
  810.  
  811. In the Shell statement the /P switch can be followed by a filename.
  812. When present, the named file will be executed instead of
  813. AUTOEXEC.BAT. The file needs to have a .BAT extension.
  814.  
  815. ?"Default Autoexec? (y/n) "SHELL=C:\COMMAND.COM C:\ /P /E:256
  816. ?"Alternate Autoexec? (y/n) "SHELL=C:\COMMAND.COM C:\
  817.         /P:ALTERNAT.BAT /E:256
  818. (Note: There is an 11 character limit including path for the /P:
  819. variable.)
  820.  
  821. Select and use different configuration files from CONFIG.SYS at
  822. bootup.
  823.  
  824. ?"Do you want to run Windows? (y/n) " chain = WCONFIG.SYS
  825. ?"Do you want to use QEMM? (y/n) " chain = QCONFIG.SYS
  826. ?"Do you want to use MemoryMAX? (y/n) chain = MCONFIG.SYS
  827. ?"Do you want to use 386MAX? (y/n) chain = 386CONF.SYS
  828.  
  829. (Each line is printed on the screen and you are asked to load/run
  830. the chained configuration file. Each configuration file is a
  831. complete CONFIG.SYS-like file with all appropriate options.)
  832.  
  833. The idea above can be accomplished by making number-selectable
  834. "menu" choices using SWITCH. Note how the "SET environment"
  835. variables can be used and tested for different "autoexec.bat" files
  836. in this example:
  837.  
  838. ECHO =    1  For Windows Configuration
  839. ECHO =    2  For QEMM Configuration
  840. ECHO =    3  For DR DOS' MemoryMAX Configuration
  841. ECHO =    4  For 386MAX Configuration
  842. ECHO =    5  For no Configuration... just exit
  843. SWITCH win, qemm, memm, 386m, none
  844. :none
  845.  
  846. set autoexec=norm
  847. exit
  848.  
  849. :win
  850. set autoexec=win
  851. chain=wconfig.sys
  852.  
  853. :qemm
  854. set autoexec=qemm
  855. chain=qconfig.sys
  856.  
  857. :memm
  858. set autoexec=memm
  859. chain=mconfig.sys
  860.  
  861. :386m
  862. set autoexec=386m
  863. chain=386conf.sys
  864.  
  865. Autoexec.bat for the above
  866.  
  867. @echo off
  868. PATH C:\DRDOS;C:\;C:\UTIL;
  869. VERIFY OFF
  870. PROMPT $P$G
  871. DISKMAP C: D: 
  872. IF "%autoexec%"=="norm" goto DRDOSEXIT
  873. SHARE /L:40
  874. IF "%autoexec%"=="win" SUPERPCK /EM /L:2048
  875. IF "%autoexec%"=="qemm" CALL QEMM.BAT
  876. IF "%autoexec%"=="memm" SUPERPCK  /A /L:2048
  877. IF "%autoexec%"=="386m" CALL 386.BAT
  878. :DRDOSEXIT
  879.  
  880. ANSI escape sequences can be used in batch file processing to
  881. create colorful menus. Below is an example of a menu that uses the
  882. SWITCH command and ANSI escape sequences to create a menu. ANSI.SYS
  883. must be loaded in the CONFIG.SYS to allow for cursor positioning
  884. and colors. The first character after the Echo statement is an
  885. ASCII 27 or escape character. This character may be displayed
  886. differently on some printers and monitors (in fact if you have ANSI
  887. loaded you will never see the character when typed to the screen).
  888. To type this character using the DR DOS Editor type CTRL-P then the
  889. ESC key. An alternate method is to type CTRL_Q N and then type the
  890. number 27. Within Editor the ESC character will appear as: ^[ . If
  891. you have downloaded this document from CompuServe or the Novell
  892. Host System the escape sequences have been left intact and you can
  893. use the DR DOS Editor to block out the Echo statements to a file.
  894. If ANSI is loaded then when the file is typed to the screen you
  895. should see white letters on a magenta background.  
  896.  
  897. For additional information on ANSI.SYS and escape sequences refer
  898. to page 399 of the DR DOS Manual.
  899.  
  900. @ECHO OFF
  901. ECHO   ┌─────────────────────────────────┐
  902. ECHO   │      1. CONTINUE W/O SCAN       │█
  903. ECHO   │      2. SCAN FOR VIRUSES        │█
  904. ECHO   └─────────────────────────────────┘█
  905. ECHO    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  906. SWITCH MENUBEGIN,SCAN
  907. :SCAN
  908. SCAN C: /chkhi
  909.  
  910. REM THIS IS THE MAIN MENU
  911. :MENUBEGIN
  912.